<?php

require_once "core-application/class.index.php";
require_once "core-application/core/class.tamplate.php";

if ( ! empty($_SESSION['aid'])) 
{
	$Index = new index;

	$data = $Index -> characterForAccount($_SESSION['aid']);

	$View = new Views('templates/selectuser.temp.html', $data);
	$View -> showView();
} else {
	header("Location: index.php");
}

?>